package com.twu.biblioteca;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 8/22/13
 * Time: 9:20 AM
 * To change this template use File | Settings | File Templates.
 */
public class BibliotecaAppMain {

    public static void main(String[] args) throws IOException {

        BibliotecaApp bibliotecaApp = new BibliotecaApp(new Printer(System.out, new BookLibrary(new PrintStream(System.out))), new BufferedReader(new InputStreamReader(System.in)), new BookLibrary(new PrintStream(System.out)));
        bibliotecaApp.populateLibrary();
        bibliotecaApp.run();


    }
}
